package cn.connorma.example.oauth.github.handlers;

import cn.connorma.example.oauth.github.RestHandler;
import cn.connorma.example.oauth.github.Result;
import cn.hutool.http.server.HttpServerRequest;

/**
 * @author matian
 * @date 2023-02-13 15:38:44
 */
public class RootRestHandler implements RestHandler {

    @Override
    public Result handle(HttpServerRequest request) {
        return Result.success().msg("success").data("hello, this is a github oauth example");
    }
}
